{include file="public/header" select="0" /}
<body>
<div class="title bgc">
    <i class="layui-icon layui-icon-left" onclick="goBack()"></i>
    个人资料
</div>

<div class="set-img bgc">
    <img src="{$user.photo}" onerror="this.src='/static/index/img/default.png'" alt="" id="photo">
</div>

<ul class="set-form bgc">
    <li>
        编号 <span>{$user.code}</span>
    </li>
    <li>
        昵称 <span>{$user.nickname}</span>
    </li>
    <li>
        手机号 <input type="number" value="{$user.mobile}" placeholder="请输入手机号">
    </li>
    <li>
        推荐人 <input type="text" value="{$user.parent_code?$user.parent_code:'-'}" placeholder="请输入推荐人ID">
    </li>

</ul>
<!--<div class="pay-btn"><a>保存</a></div>-->
</body>
{include file="public/footer" select="0" /}